text JS屬性 語法


Posted by mijouhsieh on 2023-03-15

字串不是空白
string.trim().length > 0

輸入框節點內的值
input.value


#text-js-property-syntax #trim







Related Posts

[ Vue筆記 ] 計算屬性 computed 的使用

[ Vue筆記 ] 計算屬性 computed 的使用

KIOPTRIX: LEVEL 1 攻略紀錄

KIOPTRIX: LEVEL 1 攻略紀錄

VS Code Settings

VS Code Settings


Comments